package com.csh.auth.application.convert;

import com.csh.auth.application.dto.AuthPermissionDto;
import com.csh.auth.domain.entity.AuthPermissionBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 权限 Dto转换器
 *
 * @Author: Maverick_Csh
 * @Date: 2024/3/20
 */
@Mapper
public interface AuthPermissionDtoConverter {

    AuthPermissionDtoConverter INSTANCE = Mappers.getMapper(AuthPermissionDtoConverter.class);

    AuthPermissionBo convertDtoToBo(AuthPermissionDto authPermissionDto);

}
